#ifndef __VERSION_H__
#define __VERSION_H__


#include <QLabel>
#include <QLineEdit>
#include <QComboBox>
#include <QPushButton>
#include <QGridLayout>
#include <QString>
#include <QTimer>
#include <QList>
#include <QFile>
#include <QString>
#include <QNetworkInterface>
#include <QList>
#include <QFrame>
#include <QThread>
#include <QWSServer>

#include <QWidget>
#include <QDialog>
#include <QProcess>
#include <QVBoxLayout>

#include "jwidget/jdialog.h"




class versionClass : public JDialog
{
	Q_OBJECT

public:
    explicit versionClass(QWidget *parent = 0);
    ~versionClass();
    void initLabel(void);
    void initRetBtn(void);
    QString getKernelVersion(void);
    QString getUbootVersion(void);

    QLabel *ubootVersionLabel;
    QLabel *kernelVersionLabel;
    QLabel *appVersionLabel;
    QLabel *libVersionLabel;

	QProcess *process;
    QFrame *pFrame;

    QPushButton *returnMainWindowBut;
private:
    int authVersionString(QString versionString, QString authVersionString);
public slots:	
    void slot_return();
	
};





#endif

